//
//  PDDFMDBCollectionCell.m
//  PDDriver
//
//  Created by wangjian on 2016/12/3.
//  Copyright © 2016年 PD. All rights reserved.
//

#import "PDDFMDBCollectionCell.h"

@implementation PDDFMDBCollectionCell

- (id)initWithFrame:(CGRect)frame
{
    self = [super initWithFrame:frame];
    
    if (self) {
        
        self.Celllable = [[UILabel alloc]initWithFrame:self.contentView.bounds];
        
        
        self.Celllable.textAlignment = NSTextAlignmentCenter;
        
        self.Celllable.font = [UIFont systemFontOfSize:14];
        
        [self addSubview:self.Celllable];
        
        
        
        [self.Celllable mas_makeConstraints:^(MASConstraintMaker *make) {
            
            make.right.mas_equalTo(self.mas_right);
            
            make.left.mas_equalTo(self.mas_left);
            
            make.top.mas_equalTo(self.mas_top);
            
            make.bottom.mas_equalTo(self.mas_bottom);
            
        }];
        
        
        
        
    }
    
    
    
    
    return self;
    
}



@end
